body,
html {
  margin: 0;
  padding: 0;
  height: 100vh;
}

::-webkit-scrollbar-button {
  display: none;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

::-webkit-scrollbar-track {
  background-color: rgb(250, 250, 250);
}

.container {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.main-container {
  display: flex;
  flex: 1;
}

/* 左侧导航栏 */
.left {
  display: flex;
  flex-direction: column;
  width: 200px;
  overflow-y: hidden;
  max-height: calc(100vh - 70px);
  background-color: rgb(250, 250, 250);
}

.left:hover {
  overflow-y: scroll;
}

.logo {
  width: 200px;
  height: 65px;
  position: fixed;
  background-color: #9fabf0;
  border-radius: 20px 0 0 20px;
}

.logo img {
  width: 170px;
  height: auto;
  margin: 15px;
}

.onlinemusic {
  margin-top: 80px
}

.onlinemusic,
.mymusic,
.myplaylists {
  margin-left: 20px;
  margin-right: 5px;
  display: flex;
  flex-direction: column;
}

.onlinemusic div p,
.mymusic div p,
.myplaylists div p {
  font-size: small;
  color: rgb(104, 103, 103);
  margin-bottom: 7px;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.onlinemusic ul li,
.mymusic ul li {
  display: flex;
  justify-content: start;
  align-items: center;
  font-size: medium;
  font-style: italic;
  color: rgb(116, 116, 116);
  margin-bottom: 10px;
  padding-left: 10px;
  cursor: pointer;
  border-radius: 5px 7px 7px 5px;
  transition: all 0.15s ease-out;
}

.myplaylists ul li {
  display: flex;
  justify-content: start;
  align-items: center;
  font-size: medium;
  font-style: italic;
  color: rgb(116, 116, 116);
  margin-bottom: 10px;
  cursor: pointer;
  border-radius: 5px 7px 7px 5px;
  transition: all 0.1s ease-out;
}

.onlinemusic ul li:hover,
.mymusic ul li:hover,
.myplaylists ul li:hover {
  background-color: rgb(238, 237, 237);
}

.click {
  background-color: rgb(231, 231, 231);
  color: black !important;
}

.myplaylists ul li img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  border-radius: 10%;
}

.onlinemusic ul li i,
.mymusic ul li i {
  margin-right: 10px;
  font-size: 20px;
  color: gray;
}



/* 右侧主内容 */
.right {
  flex-grow: 1;
  background-color: rgb(255, 255, 255);
  overflow-y: scroll;
  max-height: calc(100vh - 70px);
}

/* 顶部栏 */
.topBar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  width: calc(100vw - 200px);
  height: 60px;
  background-color: rgb(250, 250, 250);
}

.rh {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-left: 10px;
  padding: 0 10px;
}

.fowardAndbackon {
  display: block;
  font-size: 25px;
  min-width: 57.4px;
}


.restart {
  margin-left: 10px;
  margin-top: 2px;
  font-size: 18px;
}

.seh {
  display: flex;
  flex-direction: row;
  justify-content: center;
  position: relative;
}

.listhen {
  width: 20px;
  right: 0;
  font-size: 18px;
}

.listhen::before {
  content: '';
  background-color: rgb(74, 253, 149);
  position: absolute;
  right: -4px;
  top: -1px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  z-index: -1;
}

.search {
  position: relative;
  margin: 0 10px 0 20px;
}

.search input {
  height: 30px;
  border-radius: 15px;
  padding: 0 10px 0 30px;
  background-color: rgb(230, 230, 230);
}

.search i {
  position: absolute;
  margin: 2px 0 0 10px;
}

.lef {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
  padding: 0 10px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
}

.name {
  color: rgb(95, 95, 95);
  margin-left: 5px;
  font-size: 15px;
}

.ma {
  margin-top: 65px;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

.index {
  display: flex;
  width: calc(100vw- 200px);
  height: calc(100vh - 135px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: rgb(199, 252, 252);
  box-shadow: 0 -1px 10px 2px rgb(200, 240, 246);
}

.index::before {
  content: "";
  position: absolute;
  width: 70%;
  height: 70%;
  background: linear-gradient(to right, #9fabf0, #ff7aa6);
  filter: blur(100px);
  z-index: 1;
  pointer-events: none;
}

.index p:nth-child(1) {
  font-size: 30px;
  font-weight: 300;
  z-index: 2;
}

.index p:nth-child(2) {
  font-size: 70px;
  font-weight: 500;
  z-index: 2;
}
















/* 底部音乐播放器 */
.buttom {
  display: flex;
  justify-content: space-between;
  height: 70px;
  bottom: 0px;
  width: 100%;
  overflow: hidden;
  background-color: rgb(250, 249, 249);
  box-shadow: 0 -1px 4px 1px rgb(216, 216, 216);
}

.start {
  display: flex;
  justify-content: start;
  align-items: center;
  min-width: 300px;
  margin-left: 5px;
  width: 25%;
  height: 70px;
  padding: 2px;
}

.music-small-img {
  width: 50px;
  height: 50px;
  position: relative;
  margin-left: 0px;
}

.music-small-img img {
  position: absolute;
  margin-bottom: 30px;
}

.music-information {
  min-width: 100px
}

.music-information ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  width: 100%;
}

.music-information ul li {
  height: 20px;
  margin-left: 20px;
}

.music-information ul li:nth-child(1) {
  font-size: medium;
  font-family: 'Times New Roman', Times, serif;
  color: rgb(26, 26, 26);
}

.music-information ul li:nth-child(2) {
  font-size: 12px;
  font-family: 'Times New Roman', Times, serif;
  color: gray;
}

.selections {
  display: block;
  width: 120px;
  min-width: 120px;
  margin-left: 20px;
}

.selections p i {
  font-size: 20px;
  padding: 5px;
  color: rgb(71, 71, 71);
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 50%;
  min-width: 400px;

}

.mediaControl {
  width: 100%;
  height: 45px;
}

.mediaControl ul {
  display: flex;
  justify-content: center;
}

.mediaControl ul li {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 60px;
  height: 45px;
  z-index: 1;
}

.mediaControl ul li:nth-child(1),
.mediaControl ul li:nth-child(3) {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  width: 60px;
  height: 45px;
}


.mediaControl ul li:nth-child(2) {
  font-size: 20px;
  color: black;
  padding: 20px;
}

.mediaControl ul li:nth-child(2)::before {
  content: '';
  background-color: rgb(73, 253, 148);
  position: absolute;
  top: 8px;
  left: 10px;
  width: 40px;
  height: 30px;
  border-radius: 40%;
  z-index: -1;
}

.processBar {
  width: 70%;
  height: 3px;
  cursor: pointer;
  /* -------------- */
  border: 1px solid rgb(219, 219, 219);
  border-radius: 5vw;
  background-color: rgb(219, 219, 219);
}

.end {
  display: flex;
  justify-content: end;
  align-items: center;
  margin-right: 20px;
  width: 25%;
}